#ifndef PROMPTVIEW_H
#define PROMPTVIEW_H

#include <QGraphicsView>
class ImageItem;

class PromptView : public QGraphicsView
{
    Q_OBJECT
public:
    explicit PromptView(QWidget *parent = 0,int type=0);
    ~PromptView();
    void mousePressEvent(QMouseEvent *event);
    void mouseReleaseEvent(QMouseEvent *event);
public:
    QGraphicsScene*         m_Scene;
    ImageItem*              m_bgItem;
    ImageItem*              m_yesItem;
    ImageItem*              m_noItem;
    ImageItem*              m_mbgItem;
    int                               m_Type;
signals:
    void    back(const int& inum);
public slots:

};

#endif // PROMPTVIEW_H
